/*
	Flie:						CTempFont.h
	Course:				SGP 1208
	Author:				Kori Po
	Purpose:			Temporary cool looking font
*/

#pragma once

#include "../SGD Wrappers/CSGD_TextureManager.h"
#include <cassert>

//int id: 0 -> numCols*numRows - 1
class CTempFont
{
public:
	CTempFont(void);
	~CTempFont(void);

	RECT CellAlgorithm( int id );
	void Print(	const char* szText,	 int nX, int nY, float fScale, DWORD dwColor);

private:
	// cell algorithm data
	int		m_nCharWidth;
	int		m_nCharHeight;
	int		m_nNumRows;
	int		m_nNumCols;
	
	int		m_nCellWidth;
	int		m_nCellHeight;

	//Wrappers
	CSGD_TextureManager*		m_TextureGuy;

	// image info
	int		m_nImageID;
	char	m_cFirstChar;			// file may start with a ' ' rather than '\0'
	bool	m_bOnlyUppercase;		// convert the lowercase letters
};

